package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.SysYongyouCgrk;

/**
 * 采购入库Service接口
 * 
 * @author SYF
 * @date 2025-04-18
 */
public interface ISysYongyouCgrkService 
{
    /**
     * 查询采购入库
     * 
     * @param vouchdate 采购入库主键
     * @return 采购入库
     */
    public SysYongyouCgrk selectSysYongyouCgrkByVouchdate(String vouchdate);

    /**
     * 查询采购入库列表
     * 
     * @param sysYongyouCgrk 采购入库
     * @return 采购入库集合
     */
    public List<SysYongyouCgrk> selectSysYongyouCgrkList(SysYongyouCgrk sysYongyouCgrk);

    /**
     * 新增采购入库
     * 
     * @param sysYongyouCgrk 采购入库
     * @return 结果
     */
    public int insertSysYongyouCgrk(SysYongyouCgrk sysYongyouCgrk);

    /**
     * 修改采购入库
     * 
     * @param sysYongyouCgrk 采购入库
     * @return 结果
     */
    public int updateSysYongyouCgrk(SysYongyouCgrk sysYongyouCgrk);

    /**
     * 批量删除采购入库
     * 
     * @param vouchdates 需要删除的采购入库主键集合
     * @return 结果
     */
    public int deleteSysYongyouCgrkByVouchdates(String[] vouchdates);

    /**
     * 删除采购入库信息
     * 
     * @param vouchdate 采购入库主键
     * @return 结果
     */
    public int deleteSysYongyouCgrkByVouchdate(String vouchdate);

    public int deleteByDateRange(String startDate);
}
